import tool

def func2(n):
    li1 = []
    for i in range(1,n+1):
        li1.append(i)
    print("1到%d中倒数第二个数为： %d" % (n,li1[-2]))
    t= li1[-1:0:-4]
    print("逆向输出1 ~",n,"步长为4: "  ,li1[-1:0:-4])

if __name__ == '__main__':
    n = int(input("请输入n的值："))
    func2(n)
    tool.func5()